home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group94a.txt / 000182_icon-group-sender _Mon Jun 20 16:37:31 1994.msg < prev    next >
Internet Message Format  |  1994-08-19  |  1KB

  1. Received: by cheltenham.cs.arizona.edu; Mon, 20 Jun 1994 16:41:15 MST
  2. From: Nevin Liber <nevin@caslon>
  3. Message-Id: <199406202337.QAA24228@caslon.CS.Arizona.EDU>
  4. Subject: Re: education, please
  5. To: icon-group@cs.arizona.edu (Icon Group)
  6. Date: Mon, 20 Jun 1994 16:37:31 -0700 (MST)
  7. X-Mailer: ELM [version 2.4 PL23]
  8. Content-Type: text
  9. Content-Length: 770       
  10. Status: R
  11. Errors-To: icon-group-errors@cs.arizona.edu
  12.  
  13. Eric Armstrong proudly drove the following message along the Information SuperHypeway(TM) at breakneck speeds:
  14.  
  15. > Question 2:
  16. >    After reading about tab and move for the umpteenth time, I still don't
  17. >    see the difference between them.  Is there one?
  18.  
  19. Yes.  tab() goes to an absolute position, while move() goes a relative
  20. amount from the current position (during string scanning, this value is
  21. found in &pos).
  22.  
  23. Suppose you had the following due to previous string scanning:
  24.  
  25. &subject:    "Nothing up my sleeve, Rocky"
  26. &pos:        9
  27.  
  28. tab(12) would return "up "
  29. move(12) would return "up my sleeve"
  30. -- 
  31.     Nevin ":-)" Liber    nevin@cs.arizona.edu    (602) 293-2799
  32.                                                   +++ (520) after 3/95
  33.                                       office:    (602) 621-1685
  34.